﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QNetworkAccessManager>
#include <QNetworkRequest>
#include <ctkPluginContext.h>
#include <service/event/ctkEventAdmin.h>
#include <service/pluginadmin/pluginAdmin.h>

namespace Ui {
class MainWindow;
}

class MainWindow :public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(ctkPluginContext *context,QWidget *parent = nullptr);
    ~MainWindow();

signals:

private slots:

    void on_SendEvent_clicked();

private:
    Ui::MainWindow *ui;
    ctkDictionary m_dictionary;
    ctkEventAdmin *m_eventAdmin;
    ctkPluginContext *m_context;
    PluginAdmin *m_pluginAdmin;
    // QObject interface
public:

    // QWidget interface
protected:
    void closeEvent(QCloseEvent *event);
};

#endif // MAINWINDOW_H
